#ifndef MORPHOLOGYEX_H
#define	MORPHOLOGYEX_H

#include "Effect.h"

class MorphologyEx : public Effect {
public:
    MorphologyEx(int operation, int iterations = 1, int aperture = 3);
    virtual ~MorphologyEx();

    virtual IplImage* apply(const IplImage* in);

private:
    IplConvKernel *kernel;
    const int iterations, operation;
};

#endif	/* MORPHOLOGYEX_H */

